<html>
<head>
</head>
<body>
<a href="www.baidu.com">www.baidu.com</a>
<br>
<a href="www.baidu.com/a">www.baidu.com/a</a>
<br>
<a href="http://www.baidu.com">http://www.baidu.com</a>
<br>
<script language="javascript">
aTags = document.getElementsByTagName("A");
document.write(aTags.length);
document.write("<br>");
for(i = 0; i < aTags.length; i++)
{
	document.write(aTags[i].pathname);
	document.write("<br>");
}
</script>
</body>
</html>